package uz.gov.pages;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;

/**
 * Created with IntelliJ IDEA.
 * User: admin
 * Date: 02.04.14
 * Time: 20:32
 * To change this template use File | Settings | File Templates.
 */
public class PassengersPage extends BasePage{
    private static final By rozklad = By.xpath("//*[@id=\"cpn-text\"]/ul/li[1]/span[1]/a/span");

    public PassengersPage(WebDriver driver)
    {
        super(driver);
    }

    public void openRozklad()
    {
        driver.findElement(rozklad).click();
    }
}
